@layout("/common/_container.html",{js:["/assets/purchaseOrders/purchaseOrders_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="purchaseOrdersForm" lay-filter="purchaseOrdersForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="purchaseId" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">购买数量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="orderNumbers" name="orderNumbers" placeholder="请输入购买数量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">总金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="orderAmount" name="orderAmount" placeholder="请输入总金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">购买单位<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="unitId" name="unitId" placeholder="请输入购买单位" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">发货数量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="havaSend" name="havaSend" placeholder="请输入发货数量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">产品id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="productId" name="productId" placeholder="请输入产品id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">未发数量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="notSend" name="notSend" placeholder="请输入未发数量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">已发数量金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="havaSendPrice" name="havaSendPrice" placeholder="请输入已发数量金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">未发数量金额<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="notSendPrice" name="notSendPrice" placeholder="请输入未发数量金额" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">1.交易正在进行2.交易结束<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="status" name="status" placeholder="请输入1.交易正在进行2.交易结束" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}